import { httpDelete, httpPost, httpPut } from "@/utils/http";
export interface OrganizationTypeItem {
    _id: string;
    name: string;
}

export function getOrganizationTypesApi(data?: object) {
    return httpPost('/organizationTypes/search', data);
}
export function deleteOrganizationTypesDataApi(data: object) {
    return httpDelete('/organizationTypes/remove', data);
}
export function addOrganizationTypesDataApi(data: object) {
    return httpPost('/organizationTypes/add', data);
}
export function updateOrganizationTypesDataApi(data: object) {
    return httpPut('/organizationTypes/update', data);
}
export function getOrganizationExcelApi(data?: object) {
    return httpPost('/organizations/export', data);
}
